Skip to content

Conversation

abelbraaksma
Copy link
Member

@abelbraaksma abelbraaksma commented Dec 18, 2023

So, we can add CustomOperation operations to a CE that has bind (but the requirements are rather odd), or we can have them with yield (similar to how query works in F# Core), but the combination of the two seems to be impossible.

Since TaskSeq has both bind (unpack a task or async) and yield (act like a sequence), this is a problem (well, to the extend that we'd want custom operations, but before I decide I like to know how to do it to begin with).

Nothing of this is currently slated to go into main, it may be that there is no good way to fix this until F# itself has this (assuming it is a bug).

@abelbraaksma abelbraaksma added topic: taskseq-ce Related to the taskseq computation expression builders or overloads experimental labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental topic: taskseq-ce Related to the taskseq computation expression builders or overloads
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant